﻿using System.Data;
using Koonsoft.HYCRM.DAL;

namespace Koonsoft.HYCRM.BLL
{
    public class BankBLL
    {
        private BankDAL _dal = null;

        protected BankDAL DAL
        {
            get
            {
                if (_dal == null)
                {
                    _dal = new BankDAL();
                }

                return _dal;
            }
        }

        /// <summary>
        /// 获取所有银行
        /// </summary>
        /// <returns></returns>
        public DataTable GetBanks()
        {
            return DAL.GetBanks();
        }
    }
}
